Skip to content

fix: pass pagination_token from entriesResponse to the recursive call in bulk unpublish getSyncEntries#1973

Closed
MetodiYanev wants to merge 2 commits intocontentstack:mainfrom
MetodiYanev:fix/pass-pagination-token-to-sync-call-unpublish
Closed

fix: pass pagination_token from entriesResponse to the recursive call in bulk unpublish getSyncEntries#1973
MetodiYanev wants to merge 2 commits intocontentstack:mainfrom
MetodiYanev:fix/pass-pagination-token-to-sync-call-unpublish

Conversation

@MetodiYanev
Copy link

This PR fixes a bug in the getSyncEntries function where the recursive call to fetch additional pages of entries would always execute — even when pagination_token was null. As a result, the function would endlessly cycle through the first page of results without making progress.

@MetodiYanev MetodiYanev requested a review from a team as a code owner June 16, 2025 15:15
@aman19K
Copy link
Contributor

aman19K commented Feb 16, 2026

Hi @MetodiYanev, In CLI 2.x, we’ve integrated the bulk operations plugin. Within this plugin, we use the Delivery API to fetch published data instead of the Sync API.
Thank you for highlighting this; however, we no longer require this enhancement.

CLI Bulk Operation

@aman19K aman19K closed this Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants